package cn.cvs.pojo;

import java.util.Date;

public class History {
    private Integer hId;
    private String  hPhone;
    private Date hFirstDate;
    private Date  hLastDate;
    private double  hAllMoney;
    private String  hUserName;
    private String  hCardId;
    private String  hRoomNo;
    private String hName;
    private Room room;

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public String gethPhone() {
        return hPhone;
    }

    public void sethPhone(String hPhone) {
        this.hPhone = hPhone;
    }

    public Date gethFirstDate() {
        return hFirstDate;
    }

    public void sethFirstDate(Date hFirstDate) {
        this.hFirstDate = hFirstDate;
    }

    public Date gethLastDate() {
        return hLastDate;
    }

    public void sethLastDate(Date hLastDate) {
        this.hLastDate = hLastDate;
    }

    public double gethAllMoney() {
        return hAllMoney;
    }

    public void sethAllMoney(double hAllMoney) {
        this.hAllMoney = hAllMoney;
    }

    public String gethUserName() {
        return hUserName;
    }

    public void sethUserName(String hUserName) {
        this.hUserName = hUserName;
    }

    public String gethCardId() {
        return hCardId;
    }

    public void sethCardId(String hCardId) {
        this.hCardId = hCardId;
    }

    public String gethRoomNo() {
        return hRoomNo;
    }

    public void sethRoomNo(String hRoomNo) {
        this.hRoomNo = hRoomNo;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    @Override
    public String toString() {
        return "History{" +
                "hId=" + hId +
                ", hPhone='" + hPhone + '\'' +
                ", hFirstDate=" + hFirstDate +
                ", hLastDate=" + hLastDate +
                ", hAllMoney=" + hAllMoney +
                ", hUserName='" + hUserName + '\'' +
                ", hCardId='" + hCardId + '\'' +
                ", hRoomNo='" + hRoomNo + '\'' +
                ", hName='" + hName + '\'' +
                ", room=" + room +
                '}';
    }
}
